• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

Effective C

Item 41: Understand implicit interfaces and compile-time polymorphism

doProcessing 함수 안에 있는 w는 인터페이스를 소스 코드에서 찾으면 어떤 형태인지 확인할 수 있으므로, 이런 인터페이스를 가리켜 명시적 인터페이스(explicit interface)라고 합니다. Widget의 멤버 함수 중 몇 개는 가상 함수이므로, 이 가상 함수에 대한 호출은 런타임 다형성(runtime polymorphism)에 의해 이루어집니다. w가 지원해야 하는 인터페이스...

Effective CEffective C

Effective C 2장

Chapter 2: Objects, Functions, Types 1. Objects, Functions, Types, and Pointers An object is a storage in which you can represent values. More specifically speaking, it is a "region of data storage in the execution envir...

프로그래밍Effective CC정리C

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more